package com.itheima.demo03;

public class LambdaDemo {

    public static void main(String[] args) {

        useStringHandler((String f) -> {
            System.out.println(f);
        });
    }

    public static void useStringHandler(StringHandler stringHandler){

         stringHandler.printMessage("12345");
    }
}
